package com.perfect.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 优惠券用户表
 */
@Getter
@Setter
@ToString
public class DiscountConsumerDO {
    private Integer id; //

    private Integer discountId; //优惠券码

    private String discountCode; //优惠码

    private String consumerNickname; //会员昵称

    private Integer getType; //获取方式

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime; //领取时间

    private Integer useStatus; //使用状态

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date useTime; //使用时间

}